package com.yuandian.business.monitor.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.business_monitor.entity.BusinessStepLearningEntity;
import com.yuandian.api.business_monitor.entity.BusinessStepLearningParams;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lijunhang
 * @date 2023年07月12日 17:48
 * @description 业务步骤组合学习结果查询
 */
@Mapper
public interface BusinessStepLearningMapper {

    /**
     * 根据查询条件分页查询业务详情列表
     * @param page 分页条件、
     * @param parms 查询参数：系统id、业务编码、是否监控及时间范围等
     * @return 业务信息包装类
     */
//    @SqlAlias(value = "业务步骤串联-分页查询业务步骤串联列表")
    List<BusinessStepLearningEntity> selectBusinessStepLearningList(Page<BusinessStepLearningEntity> page, @Param("params") BusinessStepLearningParams parms);


//    @SqlAlias(value = "业务步骤串联-下载查询业务步骤串联列表")
    List<BusinessStepLearningEntity> downloadBusiStepLearningList(@Param("params") BusinessStepLearningParams parms);

}
